<extend name="public:base" />

<block name="left">
	<div class="mark_bar cl">
		<a href="{:url('user/withdraw/index')}" class="goback fl"><i class="iconfont">&#xe600;</i></a>
		<p>提现记录</p>
	</div>
</block>

<block name="main">
	<div class="content">
		<notempty name="list">
			<ul class="log_table">
				<volist name="list" id="v">
					<li>
						<div class="fl">
							<p>金额：<span class="money af90">{$v.withdraw_money} 元</span></p>
							<p class="small accc"> {$v.create_time} </p>
						</div>
						<div class="fl tr small">
								<p class="status">{$v.withdraw_status_name}</p>
							<p class="small accc">到账方式： {$v.type_name} </p>
						</div>
						<div class="cl"></div>
					</li>
				</volist>
			</ul>
			<div class="page">{$page|default=''}</div>
			<else/>
			<div class="empty">暂无提现记录！</div>
		</notempty>
	</div>
</block>

<block name="menu"></block>

<block name="js">
	<script type="text/javascript">

        function iswithdrawCancel(obj) {
			layer.open({
				content: '是否确认撤销该笔 '+ $(obj).attr('data-value') + ' 元提现申请？',
				btn: ['确认', '取消'],
				yes: function() {
					var parme = {id : $(obj).attr('data-id')};
					var action = "{:url('uc/withdraw/cancel')}";
					ajax_post('',parme,action)
				}
			});
		}

		function showres(obj){
			layer.open({
				content: $(obj).attr('data-content'),
				btn: '确定'
			});
		}
	</script>
</block>